package com.example.seh.home.secondhand;


import com.example.seh.UserDTO;

import java.io.Serializable;

public class GoodsDTO implements Serializable {
    //商品Id
    private Integer goodsId;
    //商品名称
    private String goodsName;
    //商品描述
    private String goodsDesc;
    //商品类别
    private String goodsCategory;
    //商品价格
    private double goodsPrice;
    //商品库存
    private Integer goodsStock;
    //商品详情
    private String goodsDetail;
    //商品销量
    private Integer goodsSalesVolume;
    //商品评价数
    private Integer goodsEvaluation;
    //商品好评率
    private double goodsFavorableRate;
    //商品图片地址
    private String goodsPic;
    //商家信息
    private UserDTO userDTO;
    //商品地址
    private String addressName;
    private String sendAddress;
    //商品状态
    private Integer goodsStatus;
    //逻辑删除
    private Integer isDel;
    //地址
    private String receiveAddress;

    @Override
    public String toString() {
        return "GoodsDTO{" +
                "goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsDesc='" + goodsDesc + '\'' +
                ", goodsCategory='" + goodsCategory + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", goodsStock=" + goodsStock +
                ", goodsDetail='" + goodsDetail + '\'' +
                ", goodsSalesVolume=" + goodsSalesVolume +
                ", goodsEvaluation=" + goodsEvaluation +
                ", goodsFavorableRate=" + goodsFavorableRate +
                ", goodsPic='" + goodsPic + '\'' +
                ", userDTO=" + userDTO +
                ", addressName='" + addressName + '\'' +
                ", sendAddress='" + sendAddress + '\'' +
                ", goodsStatus=" + goodsStatus +
                ", isDel=" + isDel +
                ", receiveAddress='" + receiveAddress + '\'' +
                '}';
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }





    public void setGoodsStatus(int goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public String getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public int getGoodsState() {
        return goodsStatus;
    }

    public void setGoodsState(int goodsState) {
        this.goodsStatus = goodsState;
    }

    public UserDTO getUserDTO() {
        return userDTO;
    }

    public void setUserDTO(UserDTO userDTO) {
        this.userDTO = userDTO;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public String getGoodsCategory() {
        return goodsCategory;
    }

    public void setGoodsCategory(String goodsCategory) {
        this.goodsCategory = goodsCategory;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Integer getGoodsStock() {
        return goodsStock;
    }

    public void setGoodsStock(Integer goodsStock) {
        this.goodsStock = goodsStock;
    }

    public String getGoodsDetail() {
        return goodsDetail;
    }

    public void setGoodsDetail(String goodsDetail) {
        this.goodsDetail = goodsDetail;
    }

    public Integer getGoodsSalesVolume() {
        return goodsSalesVolume;
    }

    public void setGoodsSalesVolume(Integer goodsSalesVolume) {
        this.goodsSalesVolume = goodsSalesVolume;
    }

    public Integer getGoodsEvaluation() {
        return goodsEvaluation;
    }

    public void setGoodsEvaluation(Integer goodsEvaluation) {
        this.goodsEvaluation = goodsEvaluation;
    }

    public double getGoodsFavorableRate() {
        return goodsFavorableRate;
    }

    public void setGoodsFavorableRate(double goodsFavorableRate) {
        this.goodsFavorableRate = goodsFavorableRate;
    }

    public String getGoodsPic() {
        return goodsPic;
    }

    public void setGoodsPic(String goodsPic) {
        this.goodsPic = goodsPic;
    }

}
